package com.xyf.sys.mapper;

import com.xyf.sys.domain.PriceScheme;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface PriceSchemeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PriceScheme record);

    int insertSelective(PriceScheme record);

    PriceScheme selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PriceScheme record);

    int updateByPrimaryKey(PriceScheme record);

    List<PriceScheme> selectList(@Param("type") Integer type);
}